//
//  UIRing.h
//  AccuroFit
//
//  Created by Yongfeng Li on 8/5/15.
//  Copyright (c) 2015 Yongfeng Li. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MeterTxtDevDelegate <NSObject>

@required
- (void) CompleteTextInput;

@end

@interface UIRingMeter: UIView <UITextFieldDelegate>

@property (strong) id<MeterTxtDevDelegate> txtDelegate;
@property (strong) NSString* sLastLabelTxt;

- (void) setRingImage:(int) nMeasType;
- (void) setManualMode:(BOOL)bInput;

- (void) resetMeasVals;
- (void) setMeasVals:(float)fWgt fat:(float)fFat un:(short)nWu;
- (void) setHrateVals:(short)nHrate colIdx:(int)nIdx;

- (void) setWgtTips:(float)fGoalWgt wgtLost:(float)fWgtLost toGoal:(float)fToGoal wgtUn:(short)nWgtUn;
- (void) setHrtHrtAvgTips:(short)nAvgHrt;
- (void) setHrtBldBestTips:(short)nBestBldp;
- (void) setHrtBldAvgTips:(short)nHgtBldp low:(short)nLowBldp;
- (void) setStepsTips:(float)fTdists gStep:(float)fGsteps mStep:(int)nMsteps lStep:(int)nLsteps;

- (void) setOtherValus:(float)fGoalWgt wgtLost:(float)fWgtLost toGoal:(float)fToGoal avgHrt:(short)nAvgHrt
              bestBldp:(short)nBestBldp todayDists:(float)fTdists gStep:(float)fGsteps mStep:(int)nMsteps;

- (void) setMeasIntVals:(int)nVal;
- (void) setHrmMeasData:(short) nBmp;
- (void) updPedoBattery:(short)nLevel;

- (void) setMaualLabel;
- (void) hideKeyboard;

- (void) setCtrlFontColor:(int)nIdx;

@end
